<template>
  <div id="app">
    <router-view></router-view>
    <template v-if="isShowTabbar()">
      <div style="height: 50px;"></div>
      <tabbar></tabbar>
    </template>
  </div>
</template>

<script>
import Tabbar from './components/Tabbar.vue';
export default {
  name: 'App',
  components: {
    Tabbar
  },
  mounted() {
  },
  methods: {
    isShowTabbar() {
      const isTabbar = ['/film', '/film/nowPlaying', '/film/comingSoon', '/cinema', '/mine']
      return isTabbar.includes(this.$route.path)
    }
  }
}
</script>

<style>
html,
body {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

li,
p,
h3 {
  margin: 0;
  padding: 0;
}
</style>
